<include file="Common:layout" />
<body style="background-color: rgb(255, 255, 255); overflow: auto; cursor: default;">
<div class="page">
    <div class="fixed-bar">
        <div class="item-title">
            <div class="subject">
                <h3>商品规格管理</h3>
            </div>
        </div>
    </div>

    <!--<div class="sDiv2">
        <form action="{:U('Spec/index')}" id="form" method="get">
            <input type="hidden" name="m" value="Admin">
            <input type="hidden" name="c" value="Spec">
            <input type="hidden" name="a" value="index">
            <select name="shop_id" style="width: 150px;">
                <option value="">所有店铺</option>
                <volist name="shops" id="shop">
                    <if condition="$shop['id'] eq $shop_id">
                        <option value="{$shop['id']}" selected>{$shop['shop_name']}</option>
                    <else/>
                        <option value="{$shop['id']}" >{$shop['shop_name']}</option>
                    </if>
                </volist>
            </select>
            <input type="submit" class="btn" name="btn" value="搜索">
        </form>
    </div>-->

    <form method="post">
        <input type="hidden" value="ok" name="form_submit">
        <div class="flexigrid">

            <div class="hDiv">
                <div class="hDivBox">
                    <table cellspacing="0" cellpadding="0">
                        <thead>
                        <tr>
                            <th align="center" axis="col1"><div style="text-align: center; width:60px;">ID</div></th>
                            <th align="center" axis="col2"><div style="text-align: center; width: 180px;">规格名称</div></th>
                            <!--<th align="center" axis="col2"><div style="text-align: center; width: 180px;">店铺名称</div></th>-->
                            <th axis="col10"><div></div></th>
                        </tr>
                        </thead>
                    </table>
                </div>
            </div>

            <div class="tDiv">
                <div class="tDiv2">
                    <a href="{:U('Spec/addSpec')}">
                        <div class="fbutton">
                            <div title="新增规格" class="add">
                                <span><i class="fa fa-plus"></i>新增规格</span>
                            </div>
                        </div>
                    </a>
                </div>
                <div style="clear:both"></div>
            </div>

            <div class="tDiv">
                <div style="clear:both"></div>
            </div>
            <div style="height: auto;" class="bDiv">
                <table cellspacing="0" cellpadding="0" border="0" id="article_cat_table" class="flex-table autoht">
                    <tbody id="treet1">
                    <foreach name="spec" item="vo" key="k" empty="没有数据!">
                        <td class="sort">
                            <div style="text-align: center; width: 60px;">{$vo.id}</div>
                        </td>
                        <td class="name">
                            <div style="text-align: center; width: 180px;">
                            {$vo.s_name}
                            </div>
                        </td>


                        <td style="width: 100%;">
                            <div>&nbsp;</div>
                        </td>

                        </tr>
                    </foreach>
                    </tbody>
                </table>
                {$page}
                <br/>
            </div>
        </div>
    </form>
</div>
</body>
</html>